package org.example.domain.po;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yu
 * @since 2024-07-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("son_ticket")
public class SonTicket implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("father_id")
    private Integer fatherId;

    @TableField("now_address")
    private String nowAddress;

    @TableField("next_address")
    private String nextAddress;

    @TableField("begin_time")
    private String beginTime;

    @TableField("end_time")
    private String endTime;

    @TableField("price")
    private BigDecimal price= BigDecimal.valueOf(0);


}
